package com.example.fruitshop;

import androidx.annotation.NonNull;

import java.io.Serializable;

public class Address implements Serializable {
    private final String address;
    private boolean active;

    public Address(String address) {
        this.address = address;
        this.active = false;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    @NonNull
    @Override
    public String toString() {
        return address;
    }
}
